﻿<Window x:Class="DecoupledEvents.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Decoupled Events Sample" SizeToContent="WidthAndHeight">
    <Grid>
        <DockPanel>
            <StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Center">
                <Button Content="Exit" Click="Button_Click" />
            </StackPanel>

            <DockPanel>
                <StackPanel DockPanel.Dock="Top" VerticalAlignment="Top" HorizontalAlignment="Center" Orientation="Horizontal">
                    <Button Content="Raise Event A" Width="100"/>
                    <Button Content="Raise Event B" Width="100"/>
                    <Button Content="Raise Event C" Width="100"/>
                </StackPanel>
                <ListView Height="100" />
            </DockPanel>
            
        </DockPanel>
    </Grid>
</Window>
